namespace DotNetNuke.Services.Localization
{
    using System;

    public class LocaleFileUtil
    {
        public static string GetFullFileName(LocaleFileInfo LocaleFile)
        {
            string Result = LocaleFile.LocaleFileType.ToString() + @"\";
            if (LocaleFile.LocaleModule != null)
            {
                Result = Result + LocaleFile.LocaleModule + @"\";
            }
            if (LocaleFile.LocalePath != null)
            {
                Result = Result + LocaleFile.LocalePath + @"\";
            }
            return (Result + LocaleFile.LocaleFileName);
        }
    }
}

